package com.hs.jhzd.repository;

import com.hs.jhzd.entity.QuestionnaireOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface QuestionnaireOptionRepository extends JpaRepository<QuestionnaireOption, String> {

    @Query(value="select id from jh_questionnaire_option order by id DESC limit  1",nativeQuery=true)
    String findZybh();
}
